Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

186
Visualizações
How to implement the "selectpicker" class for all the select element in website?

I have a website, backend using Django, frontend using normal HTML5.

I want to change all the default selection box to the class: "selectpicker" once in some place so it could be implemented in all the selection box in the websites.

How could I do that in one place?

I have tried:

base.html

<style>
select {
class="selectpicker";
}
</style>
    ...

app.html

    {% extends 'base.html' %}
<style>
select {
class="selectpicker";
}
</style>

But failed to do so.

I want this kind of solution, better only make change in base.html to change all the selection box in the websites as I have tons of HTML in my website.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda